﻿using System;
using System.Linq;

namespace MusicPlayer
{
    class CoreMediaFailureException : Exception
    {
        public int SourcePlayer
        {
            get;
            set;
        }

        public CoreMediaFailureException(string message, int sourcePlayer)
            : this(message, sourcePlayer, null)
        {
        }

        public CoreMediaFailureException(
            string message, int sourcePlayer, Exception innerException)
                :base(message, innerException)
        {
            this.SourcePlayer = sourcePlayer;
        }
    }
}
